﻿namespace Socket.Core
{
    using System;
    using System.IO;

    public interface IReceiveInfo : IDisposable
    {
        bool IsHeartbeat { get; set; }

        int MethodCode { get; set; }

        byte[] ReceiveHead { get; set; }

        int ReceiveHeadOffset { get; set; }

        int ReceiveLength { get; set; }

        Stream ReceiveStream { get; set; }

        DateTime ReceiveTime { get; set; }
    }
}

